package cn.buk.api.szkj.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

public class SubclassInfo {

  @JsonProperty(value = "Code")
  private String code;

  @JsonProperty(value = "Code_Show")
  private String codeShow;

  @JsonProperty(value = "cabinClass")
  private int cabinClass;

  @JsonProperty(value = "seatNum")
  private String seatNum;

  @JsonProperty(value = "Seat")
  private String seat;

  @JsonProperty(value = "fullPrice")
  private int fullPrice;

  @JsonProperty(value = "Price")
  private int price;

  @JsonProperty(value = "seatDissNew")
  private double seatDiscount;

  @JsonProperty(value = "fareBasis")
  private String fareBasis;

  @JsonProperty(value = "seatInfo")
  private SubclassRule ruleInfo;


  /**
   * 舱位代码
   */
  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  /**
   * 舱位等级
   */
  public String getCodeShow() {
    return codeShow;
  }

  public void setCodeShow(String codeShow) {
    this.codeShow = codeShow;
  }

  /**
   * 舱位等级：
   * 1 - 经济舱， 2 - 头等舱， 3 - 公务舱
   */
  public int getCabinClass() {
    return cabinClass;
  }

  public void setCabinClass(int cabinClass) {
    this.cabinClass = cabinClass;
  }

  /**
   * 舱位数量
   */
  public String getSeatNum() {
    return seatNum;
  }

  public void setSeatNum(String seatNum) {
    this.seatNum = seatNum;
  }

  /**
   * 舱位数量表达式
   */
  public String getSeat() {
    return seat;
  }

  public void setSeat(String seat) {
    this.seat = seat;
  }

  /**
   * 是否标准舱
   * 1 - 是 ，0 - 否
   */
  public int getFullPrice() {
    return fullPrice;
  }

  public void setFullPrice(int fullPrice) {
    this.fullPrice = fullPrice;
  }

  /**
   * 舱位价格
   */
  public int getPrice() {
    return price;
  }

  public void setPrice(int price) {
    this.price = price;
  }

  /**
   * 价格折扣
   */
  public double getSeatDiscount() {
    return seatDiscount;
  }

  public void setSeatDiscount(double seatDiscount) {
    this.seatDiscount = seatDiscount;
  }

  /**
   * 运价基础
   */
  public String getFareBasis() {
    return fareBasis;
  }

  public void setFareBasis(String fareBasis) {
    this.fareBasis = fareBasis;
  }

  /**
   * 退改签信息
   */
  public SubclassRule getRuleInfo() {
    return ruleInfo;
  }

  public void setRuleInfo(SubclassRule ruleInfo) {
    this.ruleInfo = ruleInfo;
  }
}
